import java.io.File;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 邓大帅
 * Date: 2024-01-26
 * Time: 18:59
 */
public class IODemo4 {
    public static void main(String[] args) {
        File file = new File("./test-dir");
        File file1 = new File("./dir");
        file1.renameTo(file);
    }
}
